//
//  ActionSheetViewController.h
//  CarTown
//
//  Created by xionghao on 15/8/7.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ActionSheetDelegate <NSObject>

-(void)OtherButtonClick:(NSInteger)index;
-(void)CancelButtonClick;

@end

@interface ActionSheetViewController : UIViewController
- (instancetype)initWithTitle:(NSString *)title delegate:(id<ActionSheetDelegate>)delegate cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:(NSString *)destructiveButtonTitle otherButtonTitles:(NSArray *)array;

@property (nonatomic,weak) id<ActionSheetDelegate> delegate;

-(void)showinView:(UIView *)view;
@end
